const express = require('express');
const router = express.Router();
const commentlikes_handler = require("../../router_handler/user/commentlikes");
// 新增评论点赞
router.post('/', commentlikes_handler.addAllCommentlikes);
//取消评论点赞
router.delete('/:commentId/:userId', commentlikes_handler.deleteCommentlikes);
//查询所有评论谁点赞了，
router.get('/', commentlikes_handler.getAllCommentlikes);
//查询某个评论谁点赞了
router.get('/:commentId', commentlikes_handler.getCommentlikes);

module.exports = router;